.article-management {
  padding: 20px;
}

.article-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.search-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  flex: 1;
}

.article-actions {
  flex-shrink: 0;
}

.article-table {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.article-actions .ant-btn {
  min-width: 120px;
}

.ant-table-thead > tr > th {
  background-color: #fafafa;
  font-weight: 600;
}

.ant-table-tbody > tr:hover > td {
  background-color: #f5f5f5;
}

.status-badge {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.status-published {
  background: #f6ffed;
  color: #52c41a;
  border: 1px solid #b7eb8f;
}

.status-draft {
  background: #fff7e6;
  color: #faad14;
  border: 1px solid #ffd591;
}

.status-archived {
  background: #f5f5f5;
  color: #8c8c8c;
  border: 1px solid #d9d9d9;
}

.article-title {
  font-weight: 500;
  color: #333;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.article-meta span {
  font-size: 12px;
  color: #666;
}

.article-stats {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: #666;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-value {
  font-weight: 500;
  color: #333;
}

.ant-modal-body {
  padding: 24px;
}

.ant-modal-footer {
  border-top: 1px solid #f0f0f0;
  padding: 16px 24px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.article-content-preview {
  max-height: 200px;
  overflow-y: auto;
  padding: 12px;
  background: #f9f9f9;
  border-radius: 4px;
  border: 1px solid #e8e8e8;
  margin-top: 8px;
}

.article-content-preview p {
  margin: 0;
  color: #666;
  line-height: 1.5;
}

.category-tag {
  display: inline-block;
  padding: 2px 8px;
  background: #e6f7ff;
  color: #1890ff;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.top-badge {
  color: #ff4d4f;
  font-weight: 500;
  margin-left: 4px;
}

.recommend-badge {
  color: #52c41a;
  font-weight: 500;
  margin-left: 4px;
}

.search-input {
  transition: all 0.3s ease;
}

.search-input:focus {
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.filter-section {
  background: #fff;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #333;
}

.filter-controls {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.clear-filters {
  margin-left: auto;
}

@media (max-width: 768px) {
  .article-management {
    padding: 12px;
  }
  
  .article-header {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-filters {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-filters > * {
    width: 100% !important;
  }
  
  .article-actions {
    width: 100%;
  }
  
  .article-actions .ant-btn {
    width: 100%;
  }
  
  .filter-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .clear-filters {
    margin-left: 0;
    margin-top: 8px;
  }
}